//
//  WAAddressCell.m
//  WalkiOS
//
//  Created by luqiuan on 2019/10/17.
//  Copyright © 2019 Chenmuzhou. All rights reserved.
//

#import "WAAddressCell.h"

@implementation WAAddressCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (IBAction)deleteAction:(id)sender {
    if (self.deleteBlock) {
        self.deleteBlock(self.model);
    }
}

- (void)setModel:(WAAddressModel *)model{
    _model = model;
    
    self.addressLB.text = model.address;
    self.phoneLB.text = [model.phone phone];
    self.nameLV.text = model.name;
}


@end
